﻿''' <summary>
''' 實體層 Data tier
''' </summary>
''' <remarks></remarks>
Public Class CustomRec
    Private _id As Integer
    Private _cname As String
    Private _ename As String
    Private _departID As Integer
    Private _age As Integer
    Private _password As String
    Private _departname As String

    Public Property departname() As String
        Get
            Return _departname
        End Get
        Set(ByVal value As String)
            _departname = value
        End Set
    End Property
    Public Property id() As Integer
        Get
            Return _id
        End Get
        Set(ByVal value As Integer)
            _id = value
        End Set
    End Property
    Public Property cname() As String
        Get
            Return _cname
        End Get
        Set(ByVal value As String)
            _cname = value
        End Set
    End Property
    Public Property ename() As String
        Get
            Return _ename
        End Get
        Set(ByVal value As String)
            _ename = value
        End Set
    End Property
    Public Property departID() As Integer
        Get
            Return _departID
        End Get
        Set(ByVal value As Integer)
            _departID = value
        End Set
    End Property
    Public Property age() As Integer
        Get
            Return _age
        End Get
        Set(ByVal value As Integer)
            _age = value
        End Set
    End Property
    Public Property password() As String
        Get
            Return _password
        End Get
        Set(ByVal value As String)
            _password = value
        End Set
    End Property
End Class
